package bean;

public class House_info {
    private int id;
    private String lease_mode;
    private double rent;
    private String contacts;
    private String deposit_method;
    private int house_type_id;
    private String address;
    private String type;

    public House_info() {
    }

    public House_info(int id, String lease_mode, double rent, String contacts, String deposit_method, int house_type_id, String address, String type) {
        this.id = id;
        this.lease_mode = lease_mode;
        this.rent = rent;
        this.contacts = contacts;
        this.deposit_method = deposit_method;
        this.house_type_id = house_type_id;
        this.address = address;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLease_mode() {
        return lease_mode;
    }

    public void setLease_mode(String lease_mode) {
        this.lease_mode = lease_mode;
    }

    public double getRent() {
        return rent;
    }

    public void setRent(double rent) {
        this.rent = rent;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getDeposit_method() {
        return deposit_method;
    }

    public void setDeposit_method(String deposit_method) {
        this.deposit_method = deposit_method;
    }

    public int getHouse_type_id() {
        return house_type_id;
    }

    public void setHouse_type_id(int house_type_id) {
        this.house_type_id = house_type_id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "House_info{" +
                "id=" + id +
                ", lease_mode='" + lease_mode + '\'' +
                ", rent=" + rent +
                ", contacts='" + contacts + '\'' +
                ", deposit_method='" + deposit_method + '\'' +
                ", house_type_id=" + house_type_id +
                ", address='" + address + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
